<extend name="Public:base" />


<block name="main">

<div class="container mt5">

	<div class="fr mt10">
		<button type="button" class="btn btn-sm btn-primary"
		onclick="location.href='__URL__/post'">发表主题</button>
	</div>

	<ul class="nav2">
		<li<?=I('sort') == '' ? ' class="active"':''?>><a href="/share">全部</a></li>
		<li<?=I('sort') == '面包' ? ' class="active"':''?>><a href="?sort=面包">面包</a></li>
		<li<?=I('sort') == '蛋糕' ? ' class="active"':''?>><a href="?sort=蛋糕">蛋糕</a></li>
		<li<?=I('sort') == '西饼' ? ' class="active"':''?>><a href="?sort=西饼">西饼</a></li>
		<li<?=I('sort') == '点心' ? ' class="active"':''?>><a href="?sort=点心">点心</a></li>
		<li<?=I('sort') == '饼干' ? ' class="active"':''?>><a href="?sort=饼干">饼干</a></li>
	</ul>
</div>

<div class="mb30" style="border-top:1px solid #DDD; border-bottom:2px solid #F1F1F1;"></div>

<div class="container">

<div class="row">
	<div class="col-sm-8 col-md-9">

		<volist name="list.list" id="v">
		<div class="row">
			<div class="col-xs-4">
				<a href="__URL__/v/id/{$v.id}"><img src="__UPLOAD__/share/{$v.id}/i.jpg" width="100%"></a>
			</div>
			<div class="col-xs-8">
				<a href=""><img src="__UPLOAD__/u/{$i+1}/i.jpg" width="30">　Jenny</a>
				<span class="f10 lgray">33分钟前</span>
				<h4><a href="__URL__/v/id/{$v.id}">{$v.title}</a></h4>
				{$v.intro}
				<div class="mt5 lgray tr">评论(3)</div>
			</div>
		</div>

		<hr class="mt20 mb20 dotline">
		</volist>

<nav>
	<ul class="pagination">
		<li>
			<a href="#" aria-label="Previous">
				<span aria-hidden="true">&laquo;</span>
			</a>
		</li>
		<li><a href="#">1</a></li>
		<li><a href="#">2</a></li>
		<li><a href="#">3</a></li>
		<li><a href="#">4</a></li>
		<li><a href="#">5</a></li>
		<li>
			<a href="#" aria-label="Next">
				<span aria-hidden="true">&raquo;</span>
			</a>
		</li>
	</ul>
</nav>

	</div>

	<div class="col-sm-4 col-md-3">

<div class="mb10 yj5 hand"
style="height:260px;
background:url('__PUBLIC__/tmp/sb/1.jpg') right no-repeat"
onclick="location.href=''">
	<div class="white" style="padding:30px 0 0 20px">
		<div class="f24">方太</div>
		<div>
			邀你一起做肉夹膜<br>
		</div>
	</div>
</div>

<div class="mb10 k yj5 hand"
style="height:100px;
background:url('__PUBLIC__/tmp/sb/2.jpg') right no-repeat"
onclick="location.href=''">
	<div class="" style="padding:10px 0 0 15px">
		<div class="f18">美的烤箱</div>
		<div>
			烘焙爱好者的好帮手<br>
		</div>
	</div>
</div>


	</div>
</div><!--row-->
</div><!--container-->


<form action="">

</form>

</block>



<block name="foot">

</block>